package com.bj58.mis.apm.server.statistics.dto.warn;

import io.swagger.annotations.ApiModel;
import io.swagger.annotations.ApiModelProperty;
import lombok.Data;

import java.util.Date;

/**
 * @Author: wangxw
 * @Date: 2018/10/12 15:29
 */
@ApiModel(description = "提醒情况")
@Data
public class WarnInfo {

    @ApiModelProperty(value = "cubeId")
    private String cubeId;
    @ApiModelProperty(value = "提醒内容")
    private String message;
    @ApiModelProperty(value = "提醒类型")
    private String warnType;
    @ApiModelProperty(value = "产生时间")
    private Date warnTime;

    public WarnInfo() {}

    public WarnInfo(String message) {
        this.message = message;
    }
}
